package cn.iocoder.yudao.module.javainfo.controller.admin.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 用户新增/修改 Request VO")
@Data
public class UserSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17016")
    private Long id;

    @Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "用户名称不能为空")
    private String userName;

    @Schema(description = "用户手机号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "用户手机号不能为空")
    private String phone;

    @Schema(description = "用户地址")
    private String address;

    @Schema(description = "用户微信openid", example = "27031")
    private String wechatOpenid;

}